home *** CD-ROM | disk | FTP | other *** search
/ Floppyshop 2 / Floppyshop - 2.zip / Floppyshop - 2.iso / art&graf.ix / art-3279 / speccode / example.bas (.txt) < prev    next >
Atari STOS Basic  |  1998-10-23  |  3KB  |  24 lines

  1. 1 REM THIS PROGRAM IS PUBLIC DOMAIN
  2. 10 REM This program loads a SPECTRUM (SPU) picture file into bank 13 and then displays it by passing the SPU file address and the Screen address to the SPECDEMO machine code program in bank 14 (using the dreg() command) and then calling same. Pressing any key removes the picture.
  3. 100 REM ********* THE PROGRAM **********
  4. 11 REM You can incorporate the machine code into your own programs by simply typing (load "specdemo.prg",b) in direct mode with the SPECCODE (DEMO VERSION) disk in drive A. - (where "b" is the bank number.)
  5. 110 RESERVE
  6. 12 REM (Type RUN to see examples)
  7. 120 VARNAME
  8. 13 REM 
  9. 130 BLOAD
  10. 14 REM A message will appear after every picture you show using SPECDEMO stating that it is the demo version in use.
  11. 140 DREG
  12. 15 REM The official version of SPECCODE (without the demo message) is available for the price of דô15.00 (inc VAT - add  דô2.00 if outside UK) from     BLACKWING PUBLISHING (UK)  1 Pepper Street London SE1 OEP.
  13. 150 DREG
  14. 160 CALL
  15. 170 GOTO
  16. 2 REM    AND MAY BE FREELY COPIED
  17. 3 REM *********************************
  18. 4 REM *       SPECCODE PROGRAM        *
  19. 5 REM *        (DEMO VERSION)         *
  20. 6 REM *                               *
  21. 7 REM *   BLACKWING PUBLISHING (UK)   *
  22. 8 REM *                               *
  23. 9 REM *********************************
  24.